import type { IPage } from '@/types'
import request from '@/utils/https'

export function getListByPage(data: IPage) {
  return request<any[]>({
    url: '/exam/list',
    method: 'post',
    data
  })
}

export function getExam(id) {
  return request<any[]>({
    url: `/exam/info/${id}`,
    method: 'get'
  })
}

